<template>
  <img alt="Vue logo" src="./assets/logo.png">
  <HelloWorld msg="Welcome to Your Vue.js App"/>
  <hr>
  <RemoteBaseComponent v-on:handleClick="handleClick"/>
</template>

<script>
import HelloWorld from '../components/HelloWorld.vue'
import RemoteBaseComponent from '../components/RemoteBaseComponent.vue';
export default {
  name: 'App',
  components: {
    HelloWorld,
    RemoteBaseComponent
  },
  setup(){
   const handleClick =()=>{
      console.log('点击了啊啊啊啊');
   }
   return {
     handleClick
   }
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
